import { useEffect } from "react";
const Login = () => {
  useEffect(() => {
    let power = [
      {
        id: 2,
        icon: "ReadOutlined",
        title: "工作台",
        link: "/main/work",
      },
      {
        id: 3,
        icon: "ReadOutlined",
        title: "签约管理",
        link: "/main/contract",
      },
      {
        id: 4,
        icon: "ReadOutlined",
        title: "服务管理",
        link: "/main/service",
      },
      {
        id: 5,
        icon: "ReadOutlined",
        title: "居民管理",
        link: "/main/resident",
      },
      {
        id: 6,
        icon: "ReadOutlined",
        title: "消息管理",
        link: "/main/message",
      },
      {
        id: 7,
        icon: "ReadOutlined",
        title: "资料管理",
        link: "/main/data",
      },
      {
        id: 8,
        icon: "ReadOutlined",
        title: "数据统计",
        link: "/main/statistics",
      },
      {
        id: 9,
        icon: "ReadOutlined",
        title: "系统设置",
        link: "/main/system",
      },
    ];
    sessionStorage.setItem("power", JSON.stringify(power));
    console.log(1111);
  }, []);

  return <>Login</>;
};
export default Login;
